package com.flycms.module.activity.dao;

import com.flycms.module.activity.model.ActivityDetail;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author mdoenglang
 */

@Repository
public interface ActivityDetailDao {

    ActivityDetail selectById(@Param("id") Long id);

    ActivityDetail selectByActivityId(@Param("id") Long id);

    void insertSelective(ActivityDetail detail);

    void update(ActivityDetail detail);

    void delByActivityId(@Param("id") Long id);
}
